%% Author: Mamut
%% Created: 10.09.2006
%% Description: 
%%     RSDN WebService Structs
%%


%% WSDL Structs

-record(
        getForumList,
        {
        	forumRequest
        }
).

-record(
        forumRequest,
        {
        	userName,
            password
        }
).

%% Response Structs
-record(
        janusForumGroupInfo,
        {
        	forumGroupID,
            forumGroupName,
            sortOrder
        }
).

-record(
        janusForumInfo,
        {
         	forumID,
        	forumGroupID,
            shortForumName,
            forumName,
            rated,
            inTop,
            rateLimit
        }
).

-record(
        requestForumInfo,
        {
         	forumID,
        	isFirstRequest = false
        }
).

-record(
        janusMessageInfo,
        {
         	messageID,
        	topicID,
            parentID,
            userID,
            forumID,
            subject,
            messageName,
            userNick,
            message,
            articleID,
            messageDate,
            updateTime,
            userRole,
            userTitle,
            userTitleColor,
            lastModerated
        }
).

-record(
        postMessageInfo,
        {
         	parentID,
            forumID,
            subject,
            message
		}
).

-record(
        janusModerateInfo,
        {
         	messageID,
            userID,
            forumID,
            create
		}
).

-record(
        janusRatingInfo,
        {
         	messageID,
            topicID,
            userID,
            userRating,
            rate,
            rateDate
		}
).

-record(
        postRatingInfo,
        {
         	messageID,
            rate
		}
).

-record(
        janusUserInfo,
        {
         	userID,
            userName,
            userNick,
            realName,
            publicEmail,
            homePage,
            specialization,
            whereFrom,
            origin
		}
).